/*
 * Exploder
 * 
 * Tero Pyylampi (218437), Jussi Tuurinkoski (211594)
 *
 * A small mine type bomb for testing purposes
 */

#ifndef GAMEBOMBSMALLMINE_H
#define GAMEBOMBSMALLMINE_H

#include "GameBomb.h"
#include "../../../../Common.h"

class GameCamera;

class GameBombSmallMine : public GameBomb {
public:
	// default constructor
	GameBombSmallMine( b2World *world, cocos2d::CCLayer *layer, GameCamera *camera, b2Vec2 pos );
	// default destructor
	virtual ~GameBombSmallMine();

	// update function
	virtual void update( cocos2d::ccTime dt );

	// detonate bomb
	virtual void detonate();

	// get the main type of the object
	virtual PhysicObjectItems getObjectType();

protected:
	// counter for sprite changing
	float mSpriteCounter;
};

#endif